package com.atguigu.gulimall.coupon.service;

import com.atguigu.common.utils.PageUtils;
import com.atguigu.common.vo.SeckillSessionWithRelationSkuVo;
import com.atguigu.gulimall.coupon.entity.SeckillSessionEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 秒杀活动场次
 *
 * @author gyhe10
 * @email gyhe10@163.com
 * @date 2024-08-17 11:36:26
 */
public interface SeckillSessionService extends IService<SeckillSessionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询最近三天的所有秒杀活动及其涉及的所有商品
     * @return
     */
    List<SeckillSessionWithRelationSkuVo> getLatest3DaysSession();
}

